
public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
//		Car c = Car.getInstance();
//		c.run();
//		Car c2 = Car.getInstance();
//		System.out.println(c == c2);
		/*Moveable m = new Plane();
		m.run();*/
		VehicleFactory pf = new PlaneFactory();
		Moveable m = pf.create();
		m.run();

	}

}
